Welcome Guest | Sign in | Register
Advanced Java - Java Programming Interview Questions and Answers | LucentBlackBoard | LucentBlackBoard.com

Home > Technical Interviews > Computer Science & Engineering > Java Programming > Advanced Java Questions and Answers

31. What value does readLine() return when it has reached the end of a file?

The readLine() method returns null when it has reached the end of a file.

32. What is the immediate superclass of the Dialog class?

Window

33. What is clipping?

A native method is a method that is implemented in a language other than Java.

34. Can a for statement loop indefinitely?

Yes, a for statement can loop indefinitely. For example, consider the following:
for(;;) ;

35. What are order of precedence and associativity, and how are they used?

Order of precedence determines the order in which operators are evaluated in expressions.
Associatity determines whether an expression is evaluated left-to-right or right-to-left.




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.